<?php


namespace app\mod;


use core\event\EventGroupMessage;
use core\Mod;

class RepeaterMod extends Mod {

    public function eventGroupMessage(EventGroupMessage $event) {
        if ($event->getSender()->id !== 842421996) {
            return;
        }
        $event->getGroup()->sendMessage($event->getMessage()->string())->recall(3000);
    }

}
